set(ITKOptimizers_SRC
itkNonLinearOptimizer.cxx
itkMultipleValuedCostFunction.cxx
itkSingleValuedCostFunction.cxx
itkConjugateGradientOptimizer.cxx
itkRegularStepGradientDescentOptimizer.cxx
itkLBFGSOptimizer.cxx
itkExhaustiveOptimizer.cxx
itkLevenbergMarquardtOptimizer.cxx
itkSingleValuedNonLinearVnlOptimizer.cxx
itkQuaternionRigidTransformGradientDescentOptimizer.cxx
itkSPSAOptimizer.cxx
itkSingleValuedVnlCostFunctionAdaptor.cxx
itkMultipleValuedNonLinearVnlOptimizer.cxx
itkPowellOptimizer.cxx
itkVersorRigid3DTransformOptimizer.cxx
itkVersorTransformOptimizer.cxx
itkOnePlusOneEvolutionaryOptimizer.cxx
itkMultipleValuedNonLinearOptimizer.cxx
itkLBFGSBOptimizer.cxx
itkCumulativeGaussianOptimizer.cxx
itkAmoebaOptimizer.cxx
itkCumulativeGaussianCostFunction.cxx
itkOptimizer.cxx
itkFRPROptimizer.cxx
itkGradientDescentOptimizer.cxx
itkSingleValuedNonLinearOptimizer.cxx
itkRegularStepGradientDescentBaseOptimizer.cxx
itkMultipleValuedVnlCostFunctionAdaptor.cxx
itkParticleSwarmOptimizerBase.cxx
itkParticleSwarmOptimizer.cxx
itkInitializationBiasedParticleSwarmOptimizer.cxx
)

add_library(ITKOptimizers ${ITKOptimizers_SRC})
target_link_libraries(ITKOptimizers  ${ITKStatistics_LIBRARIES} ${ITKTransform_LIBRARIES})
itk_module_target(ITKOptimizers)
